﻿<Application x:Class="DSTMEETING.Win.App.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <SolidColorBrush x:Key="color-title" Color="#333333"/>
            
            <Style TargetType="Button">
                <Setter Property="Width" Value="75"/>
                <Setter Property="Height" Value="34"/>
                <Setter Property="Foreground" Value="#333"/>
                <!--修改模板属性-->
                <Setter Property="Template">
                    <Setter.Value>
                        <!--控件模板-->
                        <ControlTemplate TargetType="Button">
                            <!--背景色-->
                            <Border CornerRadius="4" BorderThickness="1" BorderBrush="#adadad" Background="#e6e6e6">
                                <!--按钮内容-->
                                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}">
                                </ContentPresenter>
                            </Border>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
            <Style x:Key="btn-primary" TargetType="Button">
                <Setter Property="Width" Value="75"/>
                <Setter Property="Height" Value="34"/>
                <Setter Property="Foreground" Value="White"/>
                <!--修改模板属性-->
                <Setter Property="Template">
                    <Setter.Value>
                        <!--控件模板-->
                        <ControlTemplate TargetType="Button">
                            <!--背景色-->
                            <Border CornerRadius="4" BorderThickness="1" BorderBrush="#2e6da4" Background="#337ab7">
                                    <!--按钮内容-->
                                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}">
                                </ContentPresenter>
                            </Border>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
            <Style x:Key="btn-success" TargetType="Button">
                <Setter Property="Width" Value="75"/>
                <Setter Property="Height" Value="34"/>
                <Setter Property="Foreground" Value="White"/>
                <!--修改模板属性-->
                <Setter Property="Template">
                    <Setter.Value>
                        <!--控件模板-->
                        <ControlTemplate TargetType="Button">
                            <!--背景色-->
                            <Border CornerRadius="4" BorderThickness="1" BorderBrush="#398439" Background="#449d44">
                                <!--按钮内容-->
                                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}">
                                </ContentPresenter>
                            </Border>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
            <Style x:Key="btn-danger" TargetType="Button">
                <Setter Property="Width" Value="75"/>
                <Setter Property="Height" Value="34"/>
                <Setter Property="Foreground" Value="White"/>
                <!--修改模板属性-->
                <Setter Property="Template">
                    <Setter.Value>
                        <!--控件模板-->
                        <ControlTemplate TargetType="Button">
                            <!--背景色-->
                            <Border CornerRadius="4" BorderThickness="1" BorderBrush="#ac2925" Background="#c9302c">
                                <!--按钮内容-->
                                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}">
                                </ContentPresenter>
                            </Border>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
        </ResourceDictionary>
    </Application.Resources>
</Application>
